package alp.starcode.sanping.framework.database.mariadb.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * sensitive_word(敏感词)
 * </p>
 *
 * @author Clxini
 * @since 2024-03-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sensitive_word")
public class SensitiveWord implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 敏感词uuid
     */
    @TableId(value = "word_uuid", type = IdType.INPUT)
    private String wordUuid;

    /**
     * 敏感词
     */
    private String wordValue;

    /**
     * 敏感词类型
     */
    private String wordType;

    /**
     * 替换词
     */
    private String wordReplace;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Long createTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateTime;


}
